package com.xzm.service.impl;

/**
 * @author 3052
 * @create 2020-07-26 21:00
 */

import com.xzm.service.IUserService;

import java.util.Date;

public class UserServiceImpl2 implements IUserService {

    private String name;
    private Integer age;
    private Date birthday;

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public UserServiceImpl2(){
        System.out.println("用户创建了！");
    }
    private int i=0;
    public void saveUser() {
        System.out.println("用户得到保存！");
        System.out.println(name+" "+age+" "+birthday);
    }

}
